home *** CD-ROM | disk | FTP | other *** search
- Path: newsbf02.news.aol.com!not-for-mail
- From: roytoo@aol.com (Roytoo)
- Newsgroups: comp.lang.c++
- Subject: Problem with Borland C++ v4.52
- Date: 26 Mar 1996 11:47:57 -0500
- Organization: America Online, Inc. (1-800-827-6364)
- Sender: root@newsbf02.news.aol.com
- Message-ID: <4j973t$ctm@newsbf02.news.aol.com>
- Reply-To: roytoo@aol.com (Roytoo)
- NNTP-Posting-Host: newsbf02.mail.aol.com
-
- I am having a runtime problem with Borland C++ v4.52. When I try to input
- a real number (i.e. 12.5) using cin >> to a variable defined as a double,
- float or long double, I get a "floating point: overflow" error. This
- problem disappears if I input numbers in the format: 1.25e1. However, if
- i use the format: 12.5e0, the runtime error occurs again.
-
- I have checked all the options I could find that would affect floating
- point operation, and they all seem to be turned on.
-
- Any help would be appreciated.
-
- Thanks,
- Roy Adams Jr.
-
-
- Please respond either here, or to me by e-mail: roytoo@aol.com
-
-
- // Friends don't let friends forget to breathe. \\
- \\ Be a friend. //
-